package com.gxa.modules.pojo;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class Sys_User {
  private Integer userId;
  private String username;
  private String password;
  private String salt;
  private String name;
  private String userRole;
  private Byte sex;
  private Byte status;

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getSalt() {
    return salt;
  }

  public void setSalt(String salt) {
    this.salt = salt;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getUserRole() {
    return userRole;
  }

  public void setUserRole(String userRole) {
    this.userRole = userRole;
  }

  public Byte getSex() {
    return sex;
  }

  public void setSex(Byte sex) {
    this.sex = sex;
  }

  public Byte getStatus() {
    return status;
  }

  public void setStatus(Byte status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "Sys_User{" +
            "userId=" + userId +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", salt='" + salt + '\'' +
            ", userName='" + name + '\'' +
            ", userRole='" + userRole + '\'' +
            ", sex=" + sex +
            ", status=" + status +
            '}';
  }
}
